package Java.BlackHorse.IO;

import java.io.FileInputStream;
import java.io.IOException;

public class IODemo4 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("IO\\a.txt");
//        int read = fis.read();
//        System.out.println((char)read);

        int read;
        while((read=fis.read()) != -1){
            System.out.print((char)read);
        }

        fis.close();
    }
}
